package teacher.bean;

import java.util.Date;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	// Fields

	private Integer teaId;//主键
	private String name;//姓名
	private String user;//用户名，一般为工号
	private String password;//密码
	private Integer subject;//所属学科
	private Integer direction;//所属方向
	private String duty;//专业技术职务
	private Integer degree;//学位；0博士，1硕士，2学士
	private Integer online;//在职状态；0在职，1不在职
	private Date birthday;//出生日期
	private String furStud;//进修情况
	private String topSchool;//最高学历毕业学校
	private String topMajor;//最高学历毕业专业
	private String mail;//老师邮箱
	private Integer power;//权限
	
	private Date inSubDate;//进入学科年月
	

	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** full constructor */
	public Teacher(String name, String user, String password, Integer subject,
			Integer direction, String duty, Integer degree,
			Integer online, Date birthday, String furStud,
			String topSchool, String topMajor, String mail,Integer power,Date inSubDate) {
		this.name = name;
		this.user = user;
		this.password = password;
		this.subject = subject;
		this.direction = direction;
		this.duty = duty;
		this.degree = degree;
		this.online = online;
		this.birthday = birthday;
		this.furStud = furStud;
		this.topSchool = topSchool;
		this.topMajor = topMajor;
		this.mail=mail;
		this.power = power;
		this.inSubDate = inSubDate;
	}

	// Property accessors

	public Integer getTeaId() {
		return this.teaId;
	}

	public Date getInSubDate() {
		return inSubDate;
	}

	public void setInSubDate(Date inSubDate) {
		this.inSubDate = inSubDate;
	}

	public void setTeaId(Integer teaId) {
		this.teaId = teaId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUser() {
		return this.user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getSubject() {
		return this.subject;
	}

	public void setSubject(Integer subject) {
		this.subject = subject;
	}

	public Integer getDirection() {
		return this.direction;
	}

	public void setDirection(Integer direction) {
		this.direction = direction;
	}

	public String getDuty() {
		return this.duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	public Integer getDegree() {
		return this.degree;
	}

	public void setDegree(Integer degree) {
		this.degree = degree;
	}

	public Integer getOnline() {
		return this.online;
	}

	public void setOnline(Integer online) {
		this.online = online;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
	public String getFurStud() {
		return this.furStud;
	}

	public void setFurStud(String furStud) {
		this.furStud = furStud;
	}

	public String getTopSchool() {
		return this.topSchool;
	}

	public void setTopSchool(String topSchool) {
		this.topSchool = topSchool;
	}

	public String getTopMajor() {
		return this.topMajor;
	}

	public void setTopMajor(String topMajor) {
		this.topMajor = topMajor;
	}
	
	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}
	
	public Integer getPower() {
		return this.power;
	}

	public void setPower(Integer power) {
		this.power = power;
	}

}